package service;

import com.alibaba.fastjson.JSONObject;
import entity.GameRoom;
import entity.Player;

public interface GameRoomService {
    JSONObject getRoomAbstractListJson();
    GameRoom createRoom(String title, Player host, String passwordHash);
    GameRoom removeRoom(GameRoom r);
    GameRoom getRoom(Long roomId);
}
